/*                         Ralph Chess

		   move.h is a part of rchess

		 rchess is a very simple chess engine 

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with rchess.  If not, see <http://www.gnu.org/licenses/>.

                   Copyright 2013 Ralph Glass                                              


         move.h - board representation, search, evaluation
*/

struct move { short x; short y;};
struct piece {char type; short x; short y;};

void parse_usermove(std::string);
void show_board(std::string);
void test_moves();
void init_engine();
void init_chessboard();
void update_piece_list();
int evaluate();
void test_evaluate();
std::string get_move();

